/* 
 * File:   leds.h
 * Author: DrBobBob
 *
 * Created on October 26, 2014, 6:17 PM
 */

#ifndef LEDS_H
#define	LEDS_H

#include "Config.h"

#ifdef LED_REV2
#define LED_1   LATEbits.LATE0
#define LED_2   LATEbits.LATE1
#define LED_3   LATEbits.LATE2
#else
#define LED_1   LATBbits.LATB2
#define LED_2   LATBbits.LATB3
#define LED_3   LATBbits.LATB4
#endif

void initLEDs();
void LED_SetGroup(int value);
void LED_ToggleStatus();

#endif	/* LEDS_H */

